home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / tool_inc.zip / PRINTC.INC < prev    next >
Text File  |  1989-03-01  |  647b  |  29 lines

  1.  
  2. (*
  3.  * Copyright 1987, 1989 Samuel H. Smith;  All rights reserved
  4.  *
  5.  * This is a component of the ProDoor System.
  6.  * Do not distribute modified versions without my permission.
  7.  * Do not remove or alter this notice or any other copyright notice.
  8.  * If you use this in your own program you must distribute source code.
  9.  * Do not use any of this in a commercial product.
  10.  *
  11.  *)
  12.  
  13. var
  14.    reg: registers;
  15.  
  16. procedure printc(s: anystring);  {print character, 3x faster than dos}
  17. var
  18.    i: integer;
  19. begin
  20.    for i := 1 to ORD(s[0]) do
  21.    begin
  22.       reg.ax := ord (s[i]);
  23.       reg.dx := 0;
  24.       intr(23, reg);
  25.    end;
  26. end;
  27.  
  28.  
  29.